package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallAdminAccountDao;
import com.appkubes.mall.core.entity.MallAdminAccount;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallAdminAccountService extends AbstractBaseService<BaseMallAdminAccountDao, MallAdminAccount> {

    MallAdminAccount getOneByEntity(MallAdminAccount entity);

    List<MallAdminAccount> selectListByEntity(MallAdminAccount entity);

    IPage<MallAdminAccount> selectPageByEntity(IPage<MallAdminAccount> page);
    IPage<MallAdminAccount> selectPageByEntity(PageVO pageVO);

    IPage<MallAdminAccount> selectPageByEntity(MallAdminAccount entity, IPage<MallAdminAccount> page);
    IPage<MallAdminAccount> selectPageByEntity(MallAdminAccount entity, PageVO pageVO);

    IPage<MallAdminAccount> selectPageByEntity(MallAdminAccount entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallAdminAccount entity);
}
